<template>
<div id="list">
    <div>
      <div class="order-list-wrap">
        <div class="order-shop-frequently">
          <h4 class="order-shop-frequently-title">常买店铺</h4>
          <ul class="order-shop-frequently-wrap">
            <li class="order-shop-frequently-item">
              <span class="order-shop-frequently-item-logo">
                <img :src="assets.suguologo" alt="" class="index-zone-ball-pic">
              </span>
              <span class="order-shop-storename">南京苏果升州路生活超市</span>
            </li>
          </ul>
          <h4 class="order-shop-frequently-title">我的订单</h4>
        </div>  
        <div class="order-list">
          <div class="order-list-wrap">
            <div class="scroll-box scrollLoad-box">
              <div class="order-list-item">
                <div>
                  <div class="order-list-item-head">
                    <h5 class="order-list-item-head-storename">
                      <span class="order-list-item-head-storename-title">南京苏果升州路生活超市</span>
                    </h5>
                    <span class="order-list-item-head-status" style="color: rgb(51, 51, 51);">已完成</span>
                  </div>
                  <div class="order-list-item-time">06-12 16:27</div>
                </div>
                <div>
                  <div class="order-list-item-content">
                    <div class="order-list-item-content-sku">
                      <div class="order-list-item-content-sku-imgs">
                        <img :src="assets.watermalen" alt="" class="order-list-item-content-sku-img-i">
                      </div>
                      <div class="order-list-item-content-sku-msgs">
                        <div class="order-list-item-sku-price">¥25.33</div>
                        <div class="order-list-item-sku-num">共1件</div>
                        <span class="promotion-tags promotion-tags-empty" style="color: rgb(22, 169, 255);">达达专送</span>
                      </div>
                    </div>
                  </div>
                  <div class="order-list-item-bottom">
                    <span class="order-list-item-bottom-button">再次购买</span>
                  </div>
                </div>
              </div>
              <div class="more-text">数据加载中请稍后</div>
            </div>
          </div>
        </div> 
      </div>


    <div class="navigation footer-nav ipx-pad">
        <span class="navigation-item" @click="index()">
          <i class="iconfont1 icon-home"></i>
          <span class="navigation-item-label">首页</span>
        </span>
        <span class="navigation-item" @click="find()">
          <i class="iconfont2 icon-home"></i>
          <span class="navigation-item-label">发现</span>
        </span>
        <span class="navigation-item" @click="buy()">
          <i class="iconfont3 icon-home"></i>
          <span class="navigation-item-label">购物车</span>
        </span>
        <span class="navigation-item">
          <i class="iconfont4 icon-home"></i>
          <span class="navigation-item-label nav-item-label1">订单</span>
        </span>
        <span class="navigation-item" @click="mine()">
          <i class="iconfont5 icon-home"></i>
          <span class="navigation-item-label">我的</span>
        </span>
      </div>
  </div>
</div>
</template>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: 400;
  font-style: normal;
}
#list {
  .order-list-wrap {
    background: #fff;
    .order-shop-frequently {
      padding: 10px;
      .order-shop-frequently-title {
        font-size: 18px;
        color: #333;
        line-height: 26px;
        height: 26px;
      }
      .order-shop-frequently-wrap {
        margin: 7px 0;
        display: -webkit-box;
        -webkit-box-pack: start;
        overflow: auto;
        padding: 3px;
        list-style: none;
        .order-shop-frequently-item {
          width: 106px;
          height: 122px;
          border: 1px solid #fafafa;
          box-shadow: 0 0 5px #ddd;
          margin-right: 15px;
          border-radius: 1px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          .order-shop-frequently-item-logo {
            position: relative;
            .index-zone-ball-pic {
              display: block;
              width: 40px;
              height: 40px;
              margin: 0 auto;
            }
          }
          .order-shop-storename {
            color: #333;
            font-size: 13px;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-align: center;
            margin: 10px;
          }
        }
      }
    }
    .order-list {
      background: #fafafa;
      .order-list-wrap {
        background: #fff;
        .scrollLoad-box {
          padding-bottom: 50px;
          overflow-x: auto;
          .order-list-item {
            background-color: #fff;
            color: #333;
            padding: 0 10px 15px;
            border-bottom: 0.2rem solid #f4f4f4;
            .order-list-item-head {
              display: flex;
              justify-content: space-between;
              height: 34px;
              line-height: 40px;
              .order-list-item-head-storename {
                font-size: 15px;
                display: flex;
                justify-content: flex-start;
                width: calc(100% - 80px);
                .order-list-item-head-storename-title {
                  text-overflow: ellipsis;
                  overflow: hidden;
                  -webkit-line-clamp: 1;
                  -webkit-box-orient: vertical;
                }
              }
              .order-list-item-head-status {
                font-size: 13px;
                width: 80px;
                text-align: right;
              }
            }
            .order-list-item-time {
              font-size: 13px;
              color: #999;
              line-height: 1;
            }
          }
          .order-list-item-content {
            color: #333;
            .order-list-item-content-sku {
              display: flex;
              justify-content: space-between;
              margin-top: 10px;
              align-items: center;
              .order-list-item-content-sku-imgs {
                .order-list-item-content-sku-img-i {
                  width: 50px;
                  height: 50px;
                  margin: 5px 5px 5px 0;
                }
              }
              .order-list-item-content-sku-msgs {
                text-align: right;
                display: flex;
                flex-direction: column;
                align-items: flex-end;
                .order-list-item-sku-price {
                  color: #ff5757;
                  height: 19px;
                  font-size: 15px;
                }
                .order-list-item-sku-num {
                  font-size: 13px;
                  color: #666;
                }
                .promotion-tags-empty {
                  line-height: 14px;
                  background: #fff;
                  box-sizing: border-box;
                  border: 1px solid #ccc;
                  border-color: rgb(22, 169, 255);
                }
                .promotion-tags {
                  display: inline-block;
                  padding: 0 3px;
                  font-size: 10px;
                  height: 14px;
                  border-radius: 4px 1px;
                  z-index: 1;
                }
              }
            }
          }
          .order-list-item-bottom {
            margin-top: 15px;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            .order-list-item-bottom-button {
              border-radius: 2px;
              border: 1px solid #d9d9d9;
              padding: 6px 8px;
              text-align: center;
              font-size: 15px;
              margin-left: 5px;
            }
          }
          .more-text {
            font-size: 16px;
            line-height: 15px;
            padding: 15px 0;
            color: #666;
            text-align: center;
          }
        }
      }
    }
  }

  .footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 12px;
    z-index: 1001;
    align-items: center;
    display: flex;
  }
  .navigation {
    align-items: center;
    background-image: linear-gradient(
      180deg,
      #e8e8e8,
      #e8e8e8 50%,
      transparent 0
    );
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-color: #fff;
    height: 50px;
    .navigation-item {
      display: inline-block;
      width: 75px;
      position: relative;
      color: #555;
      flex: 1 1;
      flex-grow: 1;
      flex-shrink: 1;
      flex-basis: 0%;
      flex-direction: column;
      height: 100%;
      justify-content: center;
      text-align: center;
      // color: #39ac69;
      display: flex;
      .iconfont1 {
        background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
          no-repeat;
        height: 30px;
        background-size: 24px auto;
        background-position: center 0;
      }
      .iconfont2 {
        background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
          no-repeat;
        height: 30px;
        background-size: 24px auto;
        background-position: center -601px;
      }
      .iconfont3 {
        background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
          no-repeat;
        height: 30px;
        background-size: 24px auto;
        background-position: center -100px;
      }
      .iconfont4 {
        background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
          no-repeat;
        height: 30px;
        background-size: 24px auto;
        background-position: center -250px;
      }
      .iconfont5 {
        background: url("http://127.0.0.1:8088/upload/nav6.fe8f6378.png")
          no-repeat;
        height: 30px;
        background-size: 24px auto;
        background-position: center -300px;
      }
      .navigation-item-label {
        display: block;
        height: 20px;
        line-height: 17px;
      }
      .nav-item-label1 {
        color: #39ac69;
      }
    }
  }
}
</style>

<script>
export default {
  data() {
    return {};
  },
  created() {},
  methods: {
    index() {
      this.$router.push({
        name: "index"
      });
    },
    find() {
      this.$router.push({
        name: "find"
      });
    },
    buy() {
      this.$router.push({
        name: "buy"
      });
    },
    mine() {
      this.$router.push({
        name: "mine"
      });
    }
  }
};
</script>




